<?php
//查看汇率,记录汇率的地方可能要变更一下。
// TODO 汇率表未正确链接
$huilv_arr=select_lines_items($table_prefix."exchange","nid desc","exchange","nid >0","1");
$huilv=$huilv_arr[0]['exchange'];




//统计已发布产品
$pcount['item']="nid";
$pcount['table']=$table_Prefix ."product";
$pcount['condition']="publish = '1' ";
$pcount['log']='0';
$productNumcount =  count_number($pcount);

//统计无库存产品
$scount['item']="nid";
$scount['table']=$table_Prefix ."product";
$scount['condition']="storage = '0' ";
$scount['log']='0';
$storageNumcount =  count_number($scount);

//统计有库存的产品
$scount2['item']="nid";
$scount2['table']=$table_Prefix ."product";
$scount2['condition']="storage != '0' ";
$scount2['log']='0';
$storageNumcount2 =  count_number($scount2);
